runtime.schedt.gcwaiting (field)
18 uses
runtime (current package)
mcheckmark.go#L134: sched.gcwaiting.Store(false)
mcheckmark.go#L143: sched.gcwaiting.Store(true)
mgcmark.go#L1270: for !(gp.preempt && (preemptible || sched.gcwaiting.Load() || pp.runSafePointFn != 0)) {
mgcmark.go#L1300: for !(gp.preempt && (preemptible || sched.gcwaiting.Load() || pp.runSafePointFn != 0)) {
proc.go#L1190: sched.gcwaiting.Store(true)
proc.go#L1659: sched.gcwaiting.Store(true)
proc.go#L1777: sched.gcwaiting.Store(false)
proc.go#L3158: if sched.gcwaiting.Load() {
proc.go#L3299: if !sched.gcwaiting.Load() {
proc.go#L3403: if sched.gcwaiting.Load() {
proc.go#L3595: if sched.gcwaiting.Load() || pp.runSafePointFn != 0 {
proc.go#L3838: if sched.gcwaiting.Load() {
proc.go#L4331: if preempted && sched.gcwaiting.Load() {
proc.go#L4682: if sched.gcwaiting.Load() {
proc.go#L6524: if debug.schedtrace <= 0 && (sched.gcwaiting.Load() || sched.npidle.Load() == gomaxprocs) {
proc.go#L6526: if sched.gcwaiting.Load() || sched.npidle.Load() == gomaxprocs {
proc.go#L6908: print(" gcwaiting=", sched.gcwaiting.Load(), " nmidlelocked=", sched.nmidlelocked, " stopwait=", sched.stopwait, " sysmonwait=", sched.sysmonwait.Load(), "\n")
runtime2.go#L990: gcwaiting atomic.Bool // gc is waiting to run
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |